package com.nobug.arrange.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * @Auther: wangweilin
 * @Date: 2021/8/17 15:46
 * @Description: 班级有哪些课程
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode()
@TableName("arr_calssestosubject")
public class ClassesToSubjectEntity implements Serializable {
    private static final long serialVersionUID = 6846896406674508649L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private int id;
    //班级code
    @TableField("classCode")
    private String classCode;
    //学科代码
    @TableField("subjectCode")
    private String subjectCode;
}
